package com.topisv.tms.entity.stock.instorage;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.topisv.tms.entity.IdEntity;

/**
 * 入库 日志
 */
@Entity
@Table(name = "instorage_log")
public class InstorageLog extends IdEntity implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	private String billCode;
	
	private String workType; //操作类型 (1.登记入库单 2.领取点收任务 3.点收完成 4.领取上架任务 5.上架完成 )
	
	private String info;
	
	private Date workTime;
	
	private String workerUuid;

	public String getBillCode() {
		return billCode;
	}

	public void setBillCode(String billCode) {
		this.billCode = billCode;
	}

	public String getWorkType() {
		return workType;
	}

	public void setWorkType(String workType) {
		this.workType = workType;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public Date getWorkTime() {
		return workTime;
	}

	public void setWorkTime(Date workTime) {
		this.workTime = workTime;
	}

	public String getWorkerUuid() {
		return workerUuid;
	}

	public void setWorkerUuid(String workerUuid) {
		this.workerUuid = workerUuid;
	}
	
	//dto属性
	
	private InstorageBill bill;

	@Transient
	public InstorageBill getBill() {
		return bill;
	}

	public void setBill(InstorageBill bill) {
		this.bill = bill;
	}

}